package com.liuli.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;


@Entity(name="ResumeEdu")
public class ResumeEdu {
	

    private Integer edid;
    private Integer uid;
    private Integer rid;
    private String degree;//学历
    private String schoolname; //毕业学校名称
    private String startdate;  //开始时间
    private String enddate;  //毕业时间
    private short major; //专业分类
    private String majorname; //专业名称
    private String majordescr; //专业描述
    private short classrank;  // 
    private float complete; //简历完整程度
    
    
    public ResumeEdu() {
		// TODO Auto-generated constructor stub
	}
    
    @Id
    @GeneratedValue(strategy=GenerationType.IDENTITY)
	public Integer getEdid() {
		return edid;
	}
	public void setEdid(Integer edid) {
		this.edid = edid;
	}
	public Integer getUid() {
		return uid;
	}
	public void setUid(Integer uid) {
		this.uid = uid;
	}
	public Integer getRid() {
		return rid;
	}
	public void setRid(Integer rid) {
		this.rid = rid;
	}
	public String getDegree() {
		return degree;
	}
	public void setDegree(String degree) {
		this.degree = degree;
	}
	public String getSchoolname() {
		return schoolname;
	}
	public void setSchoolname(String schoolname) {
		this.schoolname = schoolname;
	}
	public String getStartdate() {
		return startdate;
	}
	public void setStartdate(String startdate) {
		this.startdate = startdate;
	}
	public String getEnddate() {
		return enddate;
	}
	public void setEnddate(String enddate) {
		this.enddate = enddate;
	}
	public short getMajor() {
		return major;
	}
	public void setMajor(short major) {
		this.major = major;
	}
	public String getMajorname() {
		return majorname;
	}
	public void setMajorname(String majorname) {
		this.majorname = majorname;
	}
	public String getMajordescr() {
		return majordescr;
	}
	public void setMajordescr(String majordescr) {
		this.majordescr = majordescr;
	}
	public short getClassrank() {
		return classrank;
	}
	public void setClassrank(short classrank) {
		this.classrank = classrank;
	}
	public float getComplete() {
		return complete;
	}
	public void setComplete(float complete) {
		this.complete = complete;
	}
    
	public ResumeEdu(Integer uid, Integer rid, String degree,
			String schoolname, String startdate, String enddate, short major,
			String majorname, String majordescr, short classrank, float complete) {
		super();
		this.uid = uid;
		this.rid = rid;
		this.degree = degree;
		this.schoolname = schoolname;
		this.startdate = startdate;
		this.enddate = enddate;
		this.major = major;
		this.majorname = majorname;
		this.majordescr = majordescr;
		this.classrank = classrank;
		this.complete = complete;
	}
	@Override
	public String toString() {
		return "ResumeEdu [edid=" + edid + ", uid=" + uid + ", rid=" + rid
				+ ", degree=" + degree + ", schoolname=" + schoolname
				+ ", startdate=" + startdate + ", enddate=" + enddate
				+ ", major=" + major + ", majorname=" + majorname
				+ ", majordescr=" + majordescr + ", classrank=" + classrank
				+ ", complete=" + complete + "]";
	}
    
    
    

}
